{include file="file:$theme_global/_header.tpl"}

{include file="file:$theme_global/_messages.tpl"}
			
<div class="title"><h1>Login</h1></div>

	<div id="sidebar">
		<div>
		<h2>Need an account?</h2>
			<a href="/user/register" title="Register for an account">Register</a> for an account.
		</div>			
		<div>
		<h2>Forgot your password?</h2>
			<a href="/user/forgotpassword" title="Reset Password">Reset</a> your password.
		</div>			
	</div>
	<div class="main">
		<div class="content">
		<div class="title"><h2>Log In</h2></div>
			<form action="{url}/auth/login{/url}" method="post">
				<p class="field">	
					<label for="txtUsername">Username</label><br />
					<input tabindex="1" class="text" type="text" name="username" id="txtUsername" value="{$LastLogin}" />
				</p>
				<p class="field">
					<label for="txtPassword">Password</label><br />
					<input tabindex="2" class="text" type="password" name="password" id="txtPassword" value="" />
				</p>
				<button id="login" type="submit" class="login submit" tabindex="3">Login</button>
			</form>
		</div>
	</div>
{include file="file:$theme_global/_footer.tpl"}